How to // Comment
Correct inflating androidx class error // Corriger inflating androidx class error
AndroidStudio
[AndroidStudio] Correct inflating androidx class error
1. Open the XML file concerned
2. Remove all "?attr/" element, like:
- android:background="?attr/selectableItemBackground"
- android:foreground="?attr/selectableItemBackground"
- android:background="?attr/selectableItemBackgroundBorderless"
How to
[How to] Corriger inflating androidx class error
1. Ouvrez le fichier XML concerné
2. Supprimez tous les éléments "?attr/", comme :
- android:background="?attr/selectableItemBackground"
- android:foreground="?attr/selectableItemBackground"
- android:background="?attr/selectableItemBackgroundBorderless"